package com.seecen.HJM.mapper;

import com.seecen.HJM.model.entity.Artist;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.seecen.HJM.model.vo.ArtistAreaAndCount;
import com.seecen.HJM.model.vo.ArtistDetailVO;
import com.seecen.HJM.model.vo.ArtistGenderAndCount;

import java.util.List;

/**
* @author jiachen
* @description 针对表【tb_artist】的数据库操作Mapper
* @createDate 2025-09-26 14:09:01
* @Entity com.seecen.HJM.model.entity.Artist
*/
public interface ArtistMapper extends BaseMapper<Artist> {


    ArtistDetailVO getArtistDetailById(Long artistId);

    //歌手性别分布
    List<ArtistGenderAndCount> getArtistGenderAndCount();
    //歌手地区分布
    List<ArtistAreaAndCount> getArtistAreaAndCount();
}




